package com.jifujun.junbatis.base.util;

/**
 * Create with IntelliJ IDEA
 * Project Name: ics_core
 * Package Name: club.emergency.junbatis.base.util
 * Date: 5/10/18 16:28
 * User: 快乐的小菌菌
 * Description:
 */
public class SessionThreadLocal {
    private static final ThreadLocal<Integer> threadLocal = new ThreadLocal<>();

    public static void add(Integer integer){
        threadLocal.set(integer);
    }
    public static Integer get(){
        return threadLocal.get();
    }
}
